package com.ruoyi.orderEat.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品信息对象 shop_info
 *
 * @author DingHao
 * @date 2023-11-22
 */
public class ShopInfoVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品ID
     */
    private Long shopId;

    /**
     * 商品分类ID
     */
    private Long categoryId;

    /**
     * 商品分类名称
     */
    @Excel(name = "分类名称")
    private String categoryName;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String shopName;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    private String shopUrl;

    /**
     * 商品简介
     */
    @Excel(name = "商品简介")
    private String shopIntroduce;

    /**
     * 商品状态
     */
    @Excel(name = "商品状态")
    private String shopStatus;

    /**
     * 商品状态名称
     */
    @Excel(name = "商品状态")
    private String shopStatusName;

    /**
     * 商品库存
     */
    @Excel(name = "商品库存")
    private Long shopInventory;

    /**
     * 商品价格
     */
    @Excel(name = "商品价格")
    private BigDecimal shopAmount;

    /**
     * 商品销量
     */
    @Excel(name = "商品销量")
    private Long shopSales;

    /**
     * 商品数量
     */
    private Integer shopNum;

    /**
     * 起购数量
     */
    @Excel(name = "起购数量")
    private Integer minimumQuantity;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    @Excel(name = "创建人")
    private String createUser;

    @Excel(name = "修改人")
    private String updateUser;

    /**
     * 商品类型列表
     */
    private List<ShopSpecificationVO> shopSpecificationVOList;

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopUrl(String shopUrl) {
        this.shopUrl = shopUrl;
    }

    public String getShopUrl() {
        return shopUrl;
    }

    public void setShopIntroduce(String shopIntroduce) {
        this.shopIntroduce = shopIntroduce;
    }

    public String getShopIntroduce() {
        return shopIntroduce;
    }

    public void setShopStatus(String shopStatus) {
        this.shopStatus = shopStatus;
    }

    public String getShopStatus() {
        return shopStatus;
    }

    public void setShopInventory(Long shopInventory) {
        this.shopInventory = shopInventory;
    }

    public Long getShopInventory() {
        return shopInventory;
    }

    public void setShopAmount(BigDecimal shopAmount) {
        this.shopAmount = shopAmount;
    }

    public BigDecimal getShopAmount() {
        return shopAmount;
    }

    public void setShopSales(Long shopSales) {
        this.shopSales = shopSales;
    }

    public Long getShopSales() {
        return shopSales;
    }

    public String getShopStatusName() {
        return shopStatusName;
    }

    public void setShopStatusName(String shopStatusName) {
        this.shopStatusName = shopStatusName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getShopNum() {
        return shopNum;
    }

    public void setShopNum(Integer shopNum) {
        this.shopNum = shopNum;
    }

    public List<ShopSpecificationVO> getShopSpecificationVOList() {
        return shopSpecificationVOList;
    }

    public void setShopSpecificationVOList(List<ShopSpecificationVO> shopSpecificationVOList) {
        this.shopSpecificationVOList = shopSpecificationVOList;
    }

    public Integer getMinimumQuantity() {
        return minimumQuantity;
    }

    public void setMinimumQuantity(Integer minimumQuantity) {
        this.minimumQuantity = minimumQuantity;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("shopId", getShopId())
                .append("categoryId", getCategoryId())
                .append("categoryName", getCategoryName())
                .append("shopName", getShopName())
                .append("shopUrl", getShopUrl())
                .append("shopIntroduce", getShopIntroduce())
                .append("shopStatus", getShopStatus())
                .append("shopStatusName", getShopStatusName())
                .append("shopInventory", getShopInventory())
                .append("shopAmount", getShopAmount())
                .append("shopSales", getShopSales())
                .append("shopNum", getShopNum())
                .append("minimumQuantity", getMinimumQuantity())
                .append("sort", getSort())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
